package com.srxz.personnelsystem.system.mapper.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: PositionDTO
 * @author: wgchao
 * @createTime: 2019/1/24 10:45 AM
 * @Description: TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PositionDTO implements Serializable {
    private String id;

    private String name;

    private Boolean status;//是否可用

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String createUser;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date lastUpdateTime;

    private String lastUpdateUser;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date deleteTime;

    private String deleteUser;

    private String createUserName;
    private String lastUpdateUserName;
    private String deleteUserName;
}
